<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.lanting.meetingserver.util.RecordList"%>
<%@page import="com.lanting.meetingserver.domain.MeetingSchedule"%>
<%@page import="java.text.SimpleDateFormat"%>
<%
 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
	RecordList<MeetingSchedule> list = (RecordList<MeetingSchedule>) request
			.getAttribute("data");
	int idx =0;
%>
<table id="notice-table" class="datalist  table_data_list" cellspacing="0" pageindex="<%=list.pageindex%>" pagesize="<%=list.pagesize%>"
	recordcount="<%=list.recordcount%>"
	cellpadding="0">
	<thead>
		<tr>
			<th class="long">
				时间
			</th>
			<th>
				主题
			</th>
			<th >
				演讲人
			</th>
			<th class="short last">
				编辑
			</th>
		</tr>
	</thead>
	<tbody>
	<%for(MeetingSchedule item:list.Data){%>
		<tr > 
			<td claas="long">
			<%= dateFormat.format(item.getStarttime()) %>
				---- <%=dateFormat.format(item.getEndtime()) %>
			</td>
			<td>
				<%=item.getSubject() %>
			</td>
			<td class="small">
				<%=item.getSpeaker().getUserName() %>
			</td>
			<td class="last">
				<a class="EditItem cell_button edit trigger"  list="tblSchedules" rel="#tblSchedulesDlg"
					id="editSchedule<%=item.getScheduleId() %>"	href="MeetingSchedule/get?id=<%=item.getScheduleId()%>">编辑</a>
				<a class="DelItem cell_button del" list="tblSchedules"
					href="MeetingSchedule/del?id=<%=item.getScheduleId()%>">删除</a>
				
			</td>
		</tr>
		<%idx++;} %>		
	</tbody>
</table>